package edu.uis.csc478.spring09.threeoxen.persistence.store.impl;

import edu.uis.csc478.spring09.threeoxen.persistence.store.StoreObjectFactory;
import edu.uis.csc478.spring09.threeoxen.persistence.store.StoreRepository;
import edu.uis.csc478.spring09.threeoxen.persistence.store.GroceryItem;
import edu.uis.csc478.spring09.threeoxen.persistence.store.InventoryItem;
import edu.uis.csc478.spring09.threeoxen.persistence.store.Store;

/**
 * User: Chris Logan
 * Date: Apr 13, 2009
 * Time: 7:26:19 AM
 */
public class StoreObjectFactoryImpl implements StoreObjectFactory {

    @Override
    public StoreRepository createStoreRepository() {
        return new StoreRepositoryImpl();
    }

    @Override
    public GroceryItem createGroceryItem() {
        return new GroceryItemImpl();
    }

    @Override
    public InventoryItem createInventoryItem() {
        return new InventoryItemImpl();
    }

    @Override
    public Store createStore() {
        return new StoreImpl();
    }
}
